package com.intelligent.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.pojo.ReceiptOrder;
import com.intelligent.vo.ReceiptOrderPageReq;
import com.intelligent.vo.ReceiptOrderResp;

public interface ReceiptOrderService extends IService<ReceiptOrder> {
    
    /**
     * 分页查询收款单
     */
    Page<ReceiptOrderResp> page(ReceiptOrderPageReq req);
    
    /**
     * 查看收款单详情
     */
    ReceiptOrderResp detail(Integer id);
    
    /**
     * 新建收款单
     */
    boolean create(ReceiptOrder receiptOrder);
}
